package com.jnu.mydiary.ui.users;



import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;


/* public class UsersViewModel extends ViewModel (){
    data class User(
    String name, String talk="")

    public void setContent(MutableLiveData<User> content) {
        this.content = content;
    }

    private MutableLiveData<User>content ;

    public UsersViewModel() {
        content=new MutableLiveData<>()
    }

    public LiveData<String> getContent() {
        return content;
    }
}
*/
public class UsersViewModel extends ViewModel {

    private MutableLiveData<String> mText;

    public UsersViewModel() {
        mText = new MutableLiveData<>();
        mText.setValue("This is notifications fragment");
    }

    public LiveData<String> getText() {
        return mText;
    }


}
